<?php if (!defined('THINK_PATH')) exit();?><!--<meta http-equiv="refresh" content="1"/>-->
<link href="/Public/Home/css/sane.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="/Public/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="/Public/js/bootstrap.js" type="text/javascript"></script>
<script src="/Public/js/layer/layer.js" type="text/javascript"></script>
<script src="/Public/js/jquery.js" type="text/javascript"></script>
<script src="/Public/Home/js/bookRefer.js" type="text/javascript"></script>
<div class="c-main-left-content">
    <div class="con_title">
        <h3>书友论坛</h3>
    </div>
    <div class="title_tip">
        <img class="record_icon" src="/Public/img/record_01.jpg"/>
        <span class="record_news">分享是奉献的果实，分享是快乐的前提。</span>
    </div>

    <div class="box_box">
        <div class="show_sousuo" id="forum_zz">
            <form action="<?php echo U('Home/BookAliance/bookForum');?>" method="post">
                <span>标题：</span>
                <select name="feel_title">
                    <option value="">请输入</option>
                    <option value="1">书籍</option>
                    <option value="2">文章</option>
                    <option value="3">段落</option>
                </select>
                <div class="read_submit" id="forum_submit">
                    <img src="/Public/Admin/img/record_02.jpg" alt="搜索">
                    <input type="submit" value="查询" >
                </div>
            </form>
        </div>
        <div class="forum_box">
            <div class="sy_box_span">
                <span>书友论坛</span>
            </div>
            <div class="height_con">
                <table class="sy_table">
                    <tr>
                        <th class="x1">标题</th>
                        <th class="x2">关键文字</th>
                        <th class="x1">时间</th>
                        <th class="x1">操作</th>
                    </tr>
                    <?php if(is_array($_getBookForumInfo)): $i = 0; $__LIST__ = $_getBookForumInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                            <td class="x1">
                                <?php if($vo['feel_title'] == 1): ?>书籍<?php endif; ?>
                                <?php if($vo['feel_title'] == 2): ?>文章<?php endif; ?>
                                <?php if($vo['feel_title'] == 3): ?>段落<?php endif; ?>
                            </td>
                            <td  class="x2">
                                <?php if($vo['feel_title'] == 1): ?>《 <?php echo ($vo['book_name']); ?>》<?php endif; ?>
                                <?php if($vo['feel_title'] == 2): echo ($vo['article_name']); endif; ?>
                                <?php if($vo['feel_title'] == 3): echo ($vo['feel_intor']); endif; ?>

                            </td>
                            <td class="x1"><?php echo (date('Y-m-d',$vo['feel_time'])); ?></td>
                            <td class="x1">
                                <a href="<?php echo U('Home/BookAliance/userForum',array('feel_id'=>$vo['feel_id']));?>" class="forum_a">进入论坛</a>
                            </td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                </table>
            </div>
        </div>
    </div>
</div>